package models

type RetailsCustom struct {
	Id             int64
	Products       *ErpProducts `orm:"rel(fk);null;on_delete(do_nothing)"`
	RetailsId      int64        `json:"retails_id"`
	EyeType        string       `json:"eye_type"`
	Sph            string       `json:"sph"`
	Cyl            string       `json:"cyl"`
	Add            string       `json:"add"`
	SuggestedPrice float64      `json:"suggested_price"`
}

func RetailsCustomTableName() string {
	return TableName("sa_retails_custom")
}

func (a *RetailsCustom) TableName() string {
	return RetailsCustomTableName()
}
